using System.Threading.Tasks;
using XchUserInfo.Model;

namespace XchUserInfo.BLL
{
    public interface IXchUserBO
    {
        Task<XchUser?> GetAsync(int id);
        Task<int> AddAsync(XchUser entity);
        Task<bool> UpdateAsync(int id, XchUser entity);
        Task<bool> DeleteAsync(int id);
        Task<PagedList<XchUser>> PageAsync(PagedListReq req);
    }
}



